<template>
  <div>
    <el-image class="picture" :src="src" alt="">
      <template v-slot:error>
        <img class="picture" src="https://i-1-lanrentuku.52tup.com/2020/8/27/W3dtOnN5LnBuZyxyOjEzLGI6MTNd/c0c1bf7a-475e-46b0-bbea-92e43a01c28c.jpg?imageView2/2/w/1024/">
      </template>
    </el-image>
  </div>
</template>
<script>
export default {
  props: {
    src: {
      type: String,
      default: ''
    }
  }
}
</script>
<style lang="scss" scoped>
  .picture{
    width:80px;
    height: 80px;
    border-radius: 50%;
    }
</style>
